package com.spring302;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@EnableScheduling
public class DemoConfig302 {

    @Bean
    public TaskService taskService(){
        return new TaskService();
    }
}
